package com.ywjt.platformbusiness.login.model;

public class LoginModel {


    /**
     * success : true
     * message : 操作成功！
     * code : 200
     * result : {"userMessage":{"id":"1406871099469496322","createBy":null,"createTime":"2021-06-21 15:06:23","updateBy":null,"updateTime":null,"account":"15839433596","password":"7772841DC6099402","nickname":"ZH_3la6tdv7","salt":null,"avatar":"http://vod.xof.cn/image/default/0EBBDE09FE4140AB86A14F44E385A5BF-6-2.jpeg","invitationCode":"qdze7fsj","merchantId":null,"agentId":null,"prCode":"1624259179623","prCodeUrl":"http://zhongzhiheyi.oss-cn-zhangjiakou.aliyuncs.com/1624259179623.png","referralCod":"g3lw3xe1","status":0,"balance":0,"goldIntegral":0,"silverIntegral":0},"token":"61wa6wwl0axg1tessq7r6k5hfeh1ud04vdrqnsql162425942170725170fac37334aa2ad5d4ae7c1b1bd04D6DA123F5977FA317711EFAF4728B6CC"}
     * timestamp : 1624259421768
     */

    private Boolean success;
    private String message;
    private Integer code;
    private ResultDTO result;
    private Long timestamp;

    public Boolean isSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public ResultDTO getResult() {
        return result;
    }

    public void setResult(ResultDTO result) {
        this.result = result;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public static class ResultDTO {
        /**
         * userMessage : {"id":"1406871099469496322","createBy":null,"createTime":"2021-06-21 15:06:23","updateBy":null,"updateTime":null,"account":"15839433596","password":"7772841DC6099402","nickname":"ZH_3la6tdv7","salt":null,"avatar":"http://vod.xof.cn/image/default/0EBBDE09FE4140AB86A14F44E385A5BF-6-2.jpeg","invitationCode":"qdze7fsj","merchantId":null,"agentId":null,"prCode":"1624259179623","prCodeUrl":"http://zhongzhiheyi.oss-cn-zhangjiakou.aliyuncs.com/1624259179623.png","referralCod":"g3lw3xe1","status":0,"balance":0,"goldIntegral":0,"silverIntegral":0}
         * token : 61wa6wwl0axg1tessq7r6k5hfeh1ud04vdrqnsql162425942170725170fac37334aa2ad5d4ae7c1b1bd04D6DA123F5977FA317711EFAF4728B6CC
         */

        private UserMessageDTO userMessage;
        private String token;

        public UserMessageDTO getUserMessage() {
            return userMessage;
        }

        public void setUserMessage(UserMessageDTO userMessage) {
            this.userMessage = userMessage;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public static class UserMessageDTO {
            /**
             * id : 1406871099469496322
             * createBy : null
             * createTime : 2021-06-21 15:06:23
             * updateBy : null
             * updateTime : null
             * account : 15839433596
             * password : 7772841DC6099402
             * nickname : ZH_3la6tdv7
             * salt : null
             * avatar : http://vod.xof.cn/image/default/0EBBDE09FE4140AB86A14F44E385A5BF-6-2.jpeg
             * invitationCode : qdze7fsj
             * merchantId : null
             * agentId : null
             * prCode : 1624259179623
             * prCodeUrl : http://zhongzhiheyi.oss-cn-zhangjiakou.aliyuncs.com/1624259179623.png
             * referralCod : g3lw3xe1
             * status : 0
             * balance : 0
             * goldIntegral : 0
             * silverIntegral : 0
             */

            private String id;
            private String createBy;
            private String createTime;
            private String updateBy;
            private String updateTime;
            private String account;
            private String password;
            private String nickname;
            private String salt;
            private String avatar;
            private String invitationCode;
            private String merchantId;
            private String agentId;
            private String prCode;
            private String prCodeUrl;
            private String referralCod;
            private Integer status;
            private Integer balance;
            private Integer goldIntegral;
            private Integer silverIntegral;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getCreateBy() {
                return createBy;
            }

            public void setCreateBy(String createBy) {
                this.createBy = createBy;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getUpdateBy() {
                return updateBy;
            }

            public void setUpdateBy(String updateBy) {
                this.updateBy = updateBy;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }

            public String getAccount() {
                return account;
            }

            public void setAccount(String account) {
                this.account = account;
            }

            public String getPassword() {
                return password;
            }

            public void setPassword(String password) {
                this.password = password;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public String getSalt() {
                return salt;
            }

            public void setSalt(String salt) {
                this.salt = salt;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public String getInvitationCode() {
                return invitationCode;
            }

            public void setInvitationCode(String invitationCode) {
                this.invitationCode = invitationCode;
            }

            public String getMerchantId() {
                return merchantId;
            }

            public void setMerchantId(String merchantId) {
                this.merchantId = merchantId;
            }

            public String getAgentId() {
                return agentId;
            }

            public void setAgentId(String agentId) {
                this.agentId = agentId;
            }

            public String getPrCode() {
                return prCode;
            }

            public void setPrCode(String prCode) {
                this.prCode = prCode;
            }

            public String getPrCodeUrl() {
                return prCodeUrl;
            }

            public void setPrCodeUrl(String prCodeUrl) {
                this.prCodeUrl = prCodeUrl;
            }

            public String getReferralCod() {
                return referralCod;
            }

            public void setReferralCod(String referralCod) {
                this.referralCod = referralCod;
            }

            public Integer getStatus() {
                return status;
            }

            public void setStatus(Integer status) {
                this.status = status;
            }

            public Integer getBalance() {
                return balance;
            }

            public void setBalance(Integer balance) {
                this.balance = balance;
            }

            public Integer getGoldIntegral() {
                return goldIntegral;
            }

            public void setGoldIntegral(Integer goldIntegral) {
                this.goldIntegral = goldIntegral;
            }

            public Integer getSilverIntegral() {
                return silverIntegral;
            }

            public void setSilverIntegral(Integer silverIntegral) {
                this.silverIntegral = silverIntegral;
            }
        }
    }
}
